<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="acceptance" />
<title>交工检测</title>
</head>
<body>
	<div id="heading" class="acceptance">
		<h6>交工检测申请</h6>
	</div>
	<div id="message">
		<s:actionmessage theme="custom" cssClass="success" />
	</div>
	<form action="${ctx }/business/acceptance!own.action" method="post"
		id="mainForm" class="yform">
		<div id="filter">
			<ul>
				<li>项目名称：<input type="text"
					name="filter_LIKES_projectInfo.projName"
					value="${param['filter_LIKES_projectInfo.projName']}" /></li>
				<li>申请编号：<input type="text" name="filter_LIKES_applicationCode"
					value="${param['filter_LIKES_applicationCode']}" /></li>
			</ul>
			<div class="type-button">
				<input type="button" value="查询" onclick="search();" class='search' />
			</div>
		</div>
		<div id="content">
			<table>
				<tr>
					<th>序号</th>
					<th>项目名称</th>
					<th>申请编号</th>
					<th>申请单位</th>
					<th>申请日期</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${page.result }" var="flowAcceptance"
					varStatus="status">
					<tr>
						<td>${page.first+status.index}</td>
						<td><pt:text limit="15">${flowAcceptance.projectInfo.projName }</pt:text></td>
						<td>${flowAcceptance.applicationCode }</td>
						<td><pt:text limit="8"><pt:labels type="org"
								argument1="${flowAcceptance.orgId }" single="true"></pt:labels></pt:text>
						</td>
						<td><fmt:formatDate value="${flowAcceptance.prepareDate }"
								pattern="yyyy-MM-dd" /></td>
						<td><a
							href="javascript:openAlone('${ctx}/business/acceptance!judge.action?id=${flowAcceptance.id }&flowId=${flowAcceptance.id}&projectId=${flowAcceptance.projectInfo.id}')">处理</a>
							<a
							href="javascript:openAlone('${ctx}/business/acceptance/history.action?key=${flowAcceptance.id}&pngFileName=recheck.png&projectId=${flowAcceptance.projectInfo.id}&fid=${flowAcceptance.id}')">状态</a>
						</td>
					</tr>
				</c:forEach>
			</table>
		</div>
		<jsp:include page="/common/page.jsp" flush="true" />
	</form>
</body>